FROM openeuler/openeuler:22.03-lts

MAINTAINER yangyunyi <yangyunyi2@huawei.com>

RUN yum update -y \
    && yum install -y aops-utils adoctor-cli adoctor-check-executor adoctor-check-scheduler adoctor-diag-executor adoctor-diag-scheduler \
    && yum clean all;

EXPOSE 11112 11113

CMD ["/usr/bin/adoctor-check-executor","start"]
CMD ["/usr/bin/adoctor-check-scheduler","start"]
CMD ["/usr/bin/adoctor-diag-executor","start"]
CMD ["/usr/bin/adoctor-diag-scheduler","start"]
